<template>
  <div class="dealwrap">
  	<v-Header :item="headerMess"  @toNext="rule"></v-Header>
  	<v-dealTab ></v-dealTab>
  </div>
</template>

<script>
import dealTab from '@/components/deal/dealTab'
import Header from '@/components/Header'
export default {
	data(){
		return{
			headerMess:{
        src:require("../../assets/nav_back.png"),
        headerText: 'T+D点买A股',
        right: '规则'
      }
		}
	},
	methods:{
		rule(){
			this.$router.push({path:'/ruleA'});
		}
	},
  components:{
      'v-dealTab':dealTab,
      "v-Header":Header
  },
  
  beforeRouteEnter(to,from,next){
    document.querySelector('title').innerText='谋略家'
      next()
  }
}
</script>

<style lang="less" scoped>
@import '../../less/config.less';
.dealwrap{
  width: 100%;
  height: 100%;
  position: relative;
  overflow: auto;
  -webkit-overflow-scrolling: touch
}
</style>


